Latest Questions

Getting "error while generating package metadata" when installing TkFontAwesome

I'm trying to install TkFontAwesome using python -m pip install tkfontawesome, but always get the following error: Collecting tkfontawesome Using cached tkfon

Arrays sorting Program

you are given a stream of integers represented by an array[ ] of size N. Whenever you encounter an element arr[i] , you need to increment its first occurrence (

Jest test does not find provided route

Started working on a new application and decided to write tests from very early stage to avoid any future mistakes. However, little bit struggling I guess with

i can't seem to understand a C code to sort a linked list of data

i have been given a code to sort a linked list that contains links (we call them maillons in french, sorry i don't really know how it's called in english) of Op

Automate end date depending on session type (=duration in calendars days), start date AND if bank holiday?

I am developing an automated calendar for a school on AirTable, but I am struggling to add if there is a bank holiday between the start date and end date. If th

Generating multiple labels for documents

Currently, i am working on a task where we are scraping pages from web and trying to generate labels for each webpage. For that, we have extracted the text data

Error when parsing redis aggregation reply. redigo: unexpected element type for Strings, got type []interface {} on reply position 4

I use redigo to use redis in golang I have tried to use group with reducerTOLIST but I got the following error: Error parsing Aggregate Reply: redigo: unexpect

Use an array as chart values

I need an array with chart values, I obtained one but after exiting from the function it became blank, here's what happens: Example function AddvotoTec(voto

node.js get https no responding 504

I am trying to make an https request in my backend node.js web app. I have the following code: const express = require('express'); const https = require('https'

Matching values in different datasets by groups in R

I have the following two datasets: df1 <- data.frame( "group" = c(1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5), "numbers" = c(55, 75, 60, 55, 75, 60, 5

Remove appData after uninstall Electron app

I want to remove the appData after my app was uninstalled. The deleteAppDataOnUninstall: true option was useful when i run the uninstaller.exe,but not work when

How do I check if variables of two different turtle breeds match?

I am trying to move a turtle towards it's offspring based on a shared variable. In my initial code I ask a male (breed) that has a display, but not a bower, to

Xpath using using random.randint(2,8) always identifies the first item using Python Selenium

Working on a random question picker from a codechef webpage but the problem is even when i am using random value of i, it always clicks the first question. Code

Prometheus Compaction Issue

We are facing an issue with the Prometheus due to compaction in an OKD cluster 3.11. We have observed that Prometheus is not able to delete the .tmp files. The

Cannot replace or delete the response to Slack slash command

I'm building a Slack bot that handles slash commands. I'm following the Slack documentation https://api.slack.com/interactivity/handling#message_responses and m

Javascript regex on array

I currently have this example array: array = [1.2%, 16%, 9.0%, 8%] I want to get the highest number so I did this: Math.max.apply(null, array); But it shows a

problem in Downloading brownie software tried pip and pipx method not work

File "C:\Users\ASHU\AppData\Roaming\Python\Python310\site-packages\pipx\main.py", line 779, in cli return run_pipx_command(parsed_pipx_args) File "C:\Users\ASHU

Flutter - Why is there a windows folder in my app?

I have a folder named windows in my Flutter app. It's also causing some C++ and other files to show up in source control changes. Is it safe to delete this fold

A react app inside a monorepo (lerna) package causing conflicting 'react' package

I created : A reusable react component package, and A react app for testing the component Both of them are inside a monorepo (lerna). The problem is the "react"

Active Directory replication between multiple controllers fails

I am coming to the forum because I have a big problem with the replication of my domain controllers. I explain the situation: Context : I have 2 local sites con

Jenkins job is not auto increment version which keeps overwrite the helm and docker with same version

Currently all our infra components docker images against the helm chart version or version file inside the infra components repository Issue with this model is,

How to understand the SPI clock modes?

There are many links on the web describing the SPI timing/clock modes. E.g., the following picture from here indicates 4 combinations of CPOL/CPHA determines wh

How can I add compiler warnings in CMake that exclude Protobuf files?

I'm adding warnings (and treating them as errors) to my C++ project which uses CMake for builds. Initially I used target_compile_options. But as I've added more

cypress elm[aelFn] is not a function error in afterAll test hook

I'm using cypress 9.3.1 with @cypress/code-coverage 3.9.12 and cypress-cucumber-preprocessor 4.3.1 in an angular 13.0.1 application. My tests are running fine a

Getting "connection failed (403 Forbidden)" error while make connection to python-socketio(socket.io)

I wanted to make a connection on the socket.io so I used python-socket.io in the backend (FastAPI) and socket.io-client for the frontend(React.js) but I have be

JavaFX - slider ticks displaying strange characters instead of numbers

I have these sliders here: And as you can see, they have the weirdest characters. How do I fix this/make them regular numbers? I've tried everything from setti

how to use Turtle graphics in pycharm 3.6?

This is the output it shows Traceback (most recent call last): File "/home/escenic/PycharmProjects/pythonProject Turtle/main.py", line 1, in import turtle File

Apps Script Searches for specific cell in spreadsheet

i made a bot for telegram using Apps script i have a spreadsheet which has a database... 3 columns 500 rows ID , Username, Full Name i want to make a command fo

What is the relation between a thread and transaction in JPA?

I am aware that JPA works with the default isolation level set for the database , if no isolation level is explicitly specified using the @Transactional annotat

How to delete certain number from a list in list using the index in python?

I have a list in a list, and I am trying to delete the third number of each sublist, but every time I am getting an error TypeError: list indices must be intege